import { Point } from '@antv/x6';
export default function anchor(view) {
  var _view$cell$position = view.cell.position(),
    x = _view$cell$position.x,
    y = _view$cell$position.y;
  var _view$cell$size = view.cell.size(),
    width = _view$cell$size.width,
    height = _view$cell$size.height;
  return Point.create(x + width / 2, y + height / 2);
}